package com.gyt.manager.service;

import com.gyt.manager.common.base.response.Page;
import com.gyt.manager.domain.req.LabelExcelReq;
import com.gyt.manager.domain.req.LabelLevelReq;
import com.gyt.manager.domain.req.LabelReq;
import com.gyt.manager.domain.risk.LabelInfo;
import org.springframework.http.ResponseEntity;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * 标签.
 *
 * @author v_yantgao
 */
public interface LabelService {

    Page<LabelInfo> findLabelInfos(String userName, LabelReq labelReq);

    Boolean batchUpdateLabelLevel(LabelLevelReq labelLevelReq);

    Boolean whetherLockedLabel(Long fid, String isLock);

    List<Map<String, Object>> findLabelStatus();

    void batchAddLabelInfo(String fdate);

    void batchAddLabelAlarmInfo(String fdate);

    void sendEmail(String fdate);

    byte[] exportLabelToExcel(LabelExcelReq req, HttpServletResponse response);
}
